package org.wzl.springframework.factory;

import org.wzl.springframework.exception.BeanException;
import org.wzl.springframework.factory.config.BeanDefinition;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

/**
 * @author 卫志龙
 * @description: Bean工厂顶层接口类
 * @date 2024/1/16 22:20
 */
public interface BeanFactory {

    /**
     * 获取Bean
     * @return bean
     */
    Object getBean(String name) throws BeanException;

}
